//
//  TrackProgressView.h
//  student
//
//  Created by JCai on 2018/10/25.
//  Copyright © 2018 higer. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^RateBlock)(NSInteger index);


@interface TrackProgressView : UIView

@property (nonatomic, copy) RateBlock rateBlock;
@property (nonatomic, assign) NSInteger endTime;

#pragma mark -
- (void)reloadProgress:(NSInteger)begin;

@end

NS_ASSUME_NONNULL_END
